package system;

import java.sql.Date;
import java.util.ArrayList;

public class Order {
	
	public Order(){}
	public Order(String orderId, Date orderDate, ArrayList<Product> products,
			String clientId) {
		OrderId = orderId;
		OrderDate = orderDate;
		Products = products;
		ClientId = clientId;
	}

	private String OrderId;
	private Date OrderDate;
	private ArrayList<Product> Products;
	private String ClientId;
	
	public String getOrderId() {
		return OrderId;
	}
	public void setOrderId(String orderId) {
		OrderId = orderId;
	}
	public Date getOrderDate() {
		return OrderDate;
	}
	public void setOrderDate(Date orderDate) {
		OrderDate = orderDate;
	}
	public ArrayList<Product> getProducts() {
		return Products;
	}
	public void setProducts(ArrayList<Product> products) {
		Products = products;
	}
	public String getClientId() {
		return ClientId;
	}
	public void setClientId(String clientId) {
		ClientId = clientId;
	}
	/*@Override
	public String toString() {
		return "Order [OrderId=" + OrderId + ", OrderDate=" + OrderDate
				+ ", Products=" + Products + ", ClientId=" + ClientId + "]";
	}*/
}
